Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Telephony /
Chapter 1 - Introduction to Telephony on the Macintosh / Telephone Manager Initialization Reference
Constants


Telephone Record Flags

The Telephone Manager provides constants that you can use to define the bit masks for the flags field in a telephone record (page 1-25). You request a telephone tool to set these bits with the flags parameter when you create a new telephone record using the TELNewWithResult function. You can then check the telephone record to see whether the telephone tool was able to implement the specified feature.

enum {
   telNoMenus              = 1L << 16,
   telQuiet                = 1L << 17,
   telConfigChanged        = 1L << 18
};
Constant descriptions

telNoMenus
If this bit is set, the display of status menus is prevented. You can turn on the telNoMenus bit to prevent the display of any custom status menus.
telQuiet
If this bit is set, the display of status dialog boxes and error alerts is prevented. You can turn on the telQuiet bit to prevent the display of any status dialog boxes or error alerts. When you create a new telephone record using the TELNewWithResult function, you have the option of turning off the display of status menus and error messages that are normally provided through the telephone tool. The ability to hide these messages is useful if you intend to supply your own alerts and error messages. However, if you use these features, you are responsible for supplying all of the status dialog boxes and error alerts that the telephone tool would normally display.
telConfigChanged
If this bit is set, your application requests a notification when the configuration of a telephone tool changes. This bit allows a telephone tool to generate a notification indicating that its configuration settings have been modified.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help